import http from "../utils/request"

//  发送弹幕
const sendBarrage = (data) => {
  return http.request({
    url: "/barrage/sendBarrage",
    method: 'post',
    data: data
  })
}

//  获取弹幕
const getBarrageList = (data = {}) => {
  return http.request({
    url: "/barrage/getBarrageList",
    method: 'get',
    data: data
  })
}

export {
  sendBarrage,
  getBarrageList
}
